make ldconfig use the built-in system paths
authorSteve Langasek <steve.langasek@linaro.org>
Sun, 13 Apr 2025 19:40:49 +0000 (21:40 +0200)
committerAurelien Jarno <aurel32@debian.org>
Sun, 13 Apr 2025 19:40:49 +0000 (21:40 +0200)
commitd9d8ad4f0aae1dca24d38af08a595bb1fdc75102
treee79d83d09e8e2f4851e80178b6719fe76d17d5cc
parent7cee213ae984b7fe0deb1941151e9b004eddadc0
make ldconfig use the built-in system paths

Bug-Ubuntu: https://bugs.launchpad.net/bugs/736932

Make ldconfig use the same view of built-in system paths that ld.so does,
instead of just using SLIBDIR and LIBDIR; this corrects a failure of
ldconfig to cache libraries in non-multiarch directories when building for
multiarch, even though they're on the system path.

Gbp-Pq: Topic any
Gbp-Pq: Name local-ldconfig-multiarch.diff
elf/ldconfig.c